-- GENERATED SPELL FOR [Mana Wyrm] --


function spell0_15274(pUnit, Event) --@Faerie Fire,n/a--
pUnit:FullCastSpellOnTarget(25602,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_15274', 22000, 1)
end

function Sorts_15274(pUnit, Event)
local choix_sorts_15274 = math.random(0, 0)
if choix_sorts_15274 == 0 then
pUnit:RegisterEvent('spell0_15274', 1, 1)
end
end

function mob15274_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_15274', math.random(1500, 3000), 1)
end

function mob15274_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob15274_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob15274_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(15274, 1, 'mob15274_Action')
RegisterUnitEvent(15274, 2, 'mob15274_Leave')
RegisterUnitEvent(15274, 3, 'mob15274_Kill')
RegisterUnitEvent(15274, 4, 'mob15274_Die')
